From 25c08a32eddb9daf6029dade09bb7a97515ff9c9 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 30 May 1993 17:28:33 +0000 Subject: [PATCH] * faces.el (x-resolve-font-name): Give correct error message depending on whether or not FACE was non-nil. --- lisp/faces.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/faces.el b/lisp/faces.el index 4b6d3812d2d..7788617ea27 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -428,9 +428,9 @@ also the same size as FACE on FRAME." (let ((fonts (x-list-fonts pattern face frame))) (or fonts (if face - (error "no fonts match `%S'." pattern) - (error "no fonts matching pattern are the same size as `%s'." - face))) + (error "no fonts matching pattern are the same size as `%s'." + face) + (error "no fonts match `%S'." pattern))) (car fonts)) (cdr (assq 'font (frame-parameters (selected-frame)))))) -- 2.30.2